#ifndef STUDENT_H_
#define STUDENT_H_
#include <iostream>
#include <fstream>
using namespace std;

class Student{
friend ostream& operator << (ostream& out, const Student& rhs);
friend ifstream& operator >> (ifstream& , Student& );
friend ofstream& operator << (ofstream& , const Student& );
private:
	int 		m_id;
	string	m_name;
	string 	m_pwd;
	double m_score;
public:
	Student();
	Student(int id, const string& name, const string& pwd, double score = 0);
	
	//get set 
	int getId() const { return this->m_id; }
	const string& getName() const { return this->m_name; }

};


#endif
